package com.koron.sinoprobe.web.ledger.service;

import com.koron.sinoprobe.web.ledger.bean.entity.SpMemorabilia;
import com.koron.sinoprobe.web.ledger.bean.query.SpMemorabiliaQuery;
import com.koron.sinoprobe.web.ledger.bean.vo.SpMemorabiliaVO;
import org.koron.ebs.mybatis.SessionFactory;

import java.util.List;

/**
 * @author twcao
 * @title: SpMemorabiliaService
 * @projectName GDH_EAM_V2
 * @description: 专项项目-大事记
 * @date 2021/12/1319:49
 */
public interface SpMemorabiliaService {

    SpMemorabilia queryById(SessionFactory factory, String id);

    List<SpMemorabiliaVO> queryList(SessionFactory factory, SpMemorabiliaQuery query);

    SpMemorabilia saveOrUpdate(SessionFactory factory, SpMemorabilia bean);

    Boolean deleteById(SessionFactory factory, String id);
}
